<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>登录 - BBS</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.min.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>


<body>

<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">BBS</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">


            <ul class="nav navbar-nav navbar-right">

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">More <span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="#" ng-click="">Home Page</a></li>
                        <li class="divider"></li>
                        <li><a href="#" ng-click="">Register</a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<div class="main-wrap">
<div class="container main-wrap" ng-app = "myBBS" ng-controller="myBBSCtrl as my">

    <div class="row">
        <div class="col-md-4"></div>
        <div class="col-md-4">
            <form role="form">
                <div class="form-group">
                    <label for="InPutId">id</label>
                    <input type="id" class="form-control" id="InPutId" placeholder="Enter id" ng-model="my.form.id">
                </div>

                <div class="form-group">
                    <label for="InputPassword">Password</label>
                    <input type="password" class="form-control" id="InputPassword" placeholder="Password" ng-model="my.form.password">
                </div>
                <div class="row">
                    <div class="col-md-1"></div>
                    <button type="login" class="btn btn-success col-md-4" ng-click="my.form.login">Login</button>
                    <div class="col-md-2"></div>
                    <button type="register" class="btn btn-info col-md-4" ng-click="my.form.register">Register</button>
                    <div class="col-md-1"></div>
                </div>

            </form>
        </div>
        <div class="col-md-4"></div>
    </div>


</div>
</div>
<script src="js/angular.min.js"></script>
<script src="js/login.js"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
